<span class="field-item">
    <span class="badge field-num"><%-fieldNum%></span>
    <input class="field-name" type="text" value="<%-fieldName%>"/>
    <input class="field" type="hidden" value="<%-field%>"/>
    <span class="remove">X</span>
</span>